package com.beyondbit.hr.api.utils;

public class NonRollbackException extends Exception {
    int code = -0xffff;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public NonRollbackException(int code,String msg,Throwable cause){
        super(msg,cause);
        this.code = code;
    }


    public NonRollbackException(String msg){
        super(msg);
    }

    public NonRollbackException(Throwable e){
        super(e);
    }

    public NonRollbackException(String msg,Throwable e){
        super(msg,e);
    }
}
